package youcaihuaoa.weetop.com.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.robot.base.model.ExamineBean
import youcaihuaoa.weetop.com.R

class ApplyAdapter : BaseQuickAdapter<ExamineBean, BaseViewHolder>(
    R.layout.app_item_shop_fragment
) {
    override fun convert(holder: BaseViewHolder, item: ExamineBean) {
        holder.setText(R.id.tv_title, "${item.public_title}")
            .setText(R.id.tv_apply_time, "申请时间：${item.public_create_time}")
            .setText(R.id.tv_approve_time, "审批时间：${item.public_update_time ?: ""}")
    }
}